package com.action.blogmain;

import com.change.BlogChange;

public class MainAction {
	private int cno;
	private String content_jsp;

	public String getContent_jsp() {
		return content_jsp;
	}

	public void setBno(int cno) {
		this.cno = cno;
	}

	public String execute() throws Exception {
		
		if (cno < 1)	cno = 0;

		content_jsp = BlogChange.contentChange(cno);

		return "success";
	}

}
